<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/24
 * Time: 9:23
 * 添加销售学生记录
 */
//获取参数
$oss_ouid = $route->bodyParams['oss_ouid'];      //关联的销售id
$oss_osid = $route->bodyParams['oss_osid'];      //关联的学生id
$oss_dis  = $route->bodyParams['oss_dis'];      //关联的学生id

//写入数组
$insertArr = [
    'oss_ouid' => $oss_ouid,
    'oss_osid' => $oss_osid,
    'oss_dis'  => $oss_dis,
];

//执行写入语句
$rsData = $db->mysqlDB->insert("oa_sell_student",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );